package com.example.bootdemo.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: gaochao
 * @time: 2020/11/20 18:03
 */
@RestController
public class HelloControl {

    @RequestMapping("/hello")
    public String hello(String str){
        return "hello " + str;
    }



}
